Skip to content

Conversation

zerodivisi0n
Copy link
Contributor

As promissed in my previous PR #111, I rewrote Docker builds with GoReleaser. Current images are available on my Docker Hub now. I added builds only for two archs - amd64 and arm64. I think it will be enough.

@@ -11,6 +11,8 @@ builds:
- amd64
- 386
- arm64
env:
- CGO_ENABLED=0
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had to add this because binaries are now being built on host OS with Go cross-complier and then copy to the Docker image. Therefore, the applications that have been built on e.g. Ubuntu don't run inside Alpine image.
CGO_ENABLED=0 enables static linking for binaries and makes them more portable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant